luci-app-statistics: treat APC UPS "host" setting as single value option
authorJo-Philipp Wich <[email protected]>
Tue, 27 Apr 2021 08:09:05 +0000 (10:09 +0200)
committerJo-Philipp Wich <[email protected]>
Tue, 27 Apr 2021 08:18:14 +0000 (10:18 +0200)
Existing Lua code incorrectly stated that the "Host" option takes a space
sparated list of hostnames which is not the case since the collect plugin
does not handle multiple hosts.

This change reverts the configuration to a simple value as proposed by
the original PR and adjusts the config summary accordingly, while retaining
the translation string.

Ref: https://github.com/openwrt/luci/pull/5010#issuecomment-827285319
Fixes: dd5d96afd ("luci-app-statistics: fix APC UPS host configuration")
Fixes: e7d22dce5 ("luci-app-statistics: convert collectd configuration to client side views")
Signed-off-by: Jo-Philipp Wich <[email protected]>
(cherry picked from commit 8816c8fff7e8e30f19e85c0f1c7f70b6914be701)

34 files changed:
applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js
applications/luci-app-statistics/po/ar/statistics.po
applications/luci-app-statistics/po/bg/statistics.po
applications/luci-app-statistics/po/bn_BD/statistics.po
applications/luci-app-statistics/po/ca/statistics.po
applications/luci-app-statistics/po/cs/statistics.po
applications/luci-app-statistics/po/de/statistics.po
applications/luci-app-statistics/po/el/statistics.po
applications/luci-app-statistics/po/en/statistics.po
applications/luci-app-statistics/po/es/statistics.po
applications/luci-app-statistics/po/fi/statistics.po
applications/luci-app-statistics/po/fr/statistics.po
applications/luci-app-statistics/po/he/statistics.po
applications/luci-app-statistics/po/hi/statistics.po
applications/luci-app-statistics/po/hu/statistics.po
applications/luci-app-statistics/po/it/statistics.po
applications/luci-app-statistics/po/ja/statistics.po
applications/luci-app-statistics/po/ko/statistics.po
applications/luci-app-statistics/po/mr/statistics.po
applications/luci-app-statistics/po/ms/statistics.po
applications/luci-app-statistics/po/nb_NO/statistics.po
applications/luci-app-statistics/po/pl/statistics.po
applications/luci-app-statistics/po/pt/statistics.po
applications/luci-app-statistics/po/pt_BR/statistics.po
applications/luci-app-statistics/po/ro/statistics.po
applications/luci-app-statistics/po/ru/statistics.po
applications/luci-app-statistics/po/sk/statistics.po
applications/luci-app-statistics/po/sv/statistics.po
applications/luci-app-statistics/po/templates/statistics.pot
applications/luci-app-statistics/po/tr/statistics.po
applications/luci-app-statistics/po/uk/statistics.po
applications/luci-app-statistics/po/vi/statistics.po
applications/luci-app-statistics/po/zh_Hans/statistics.po
applications/luci-app-statistics/po/zh_Hant/statistics.po

index 17ec51be5379ec7742070a7f3a964220c4ebaec7..32f0cecdabebea20879ad524beee0c1847095c2b 100644 (file)
@@ -11,13 +11,10 @@ return baseclass.extend({
 
                o = s.option(form.Flag, 'enable', _('Enable this plugin'));
 
-               o = s.option(form.DynamicList, 'Host', _('Monitor host'));
+               o = s.option(form.Value, 'Host', _('Monitor host'));
                o.default = 'localhost';
                o.datatype = 'host';
                o.depends('enable', '1');
-               o.write = function(section_id, value) {
-                       return form.Value.prototype.write.call(this, section_id, L.toArray(value).join(' '));
-               };
 
                o = s.option(form.Value, 'Port', _('Port for apcupsd communication'));
                o.default = '3551';
@@ -26,11 +23,6 @@ return baseclass.extend({
        },
 
        configSummary: function(section) {
-               var hosts = L.toArray(section.Host);
-               if (hosts.length)
-                       return N_(hosts.length,
-                               'Monitoring APC UPS at host %s, port %d',
-                               'Monitoring APC UPS at hosts %s, port %d'
-                       ).format(hosts.join(', '), section.Port || 3551);
+               return _('Monitoring APC UPS at host %s, port %d').format(section.Host || 'localhost', section.Port || 3551);
        }
 });
index 30f312a3238273bf78eba792de3f6c5c8b1a4df7..5ecf51f26bcc3d9b3fc14a49336d32e98e8c9c50 100644 (file)
@@ -662,15 +662,9 @@ msgstr ""
 msgid "Monitoring %s, %s, %s"
 msgstr ""
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] ""
-msgstr[1] ""
-msgstr[2] ""
-msgstr[3] ""
-msgstr[4] ""
-msgstr[5] ""
+msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index f27c585898c14f4a423dbdcd1907e1c824dee955..be555d534c7d3caebc930a99d85896b2784e4ea1 100644 (file)
@@ -661,11 +661,9 @@ msgstr ""
 msgid "Monitoring %s, %s, %s"
 msgstr ""
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] ""
-msgstr[1] ""
+msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index a68a99f4c1e95d67ca59e948108cb0317bc0ff03..db9a2a56c3e681e7a22a607420383ef67c605118 100644 (file)
@@ -659,11 +659,9 @@ msgstr ""
 msgid "Monitoring %s, %s, %s"
 msgstr ""
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] ""
-msgstr[1] ""
+msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index 52e29a01920e75dd9dc3d8b3183992000b038a61..5b26614195a4c33454e271891233656541dac271 100644 (file)
@@ -672,11 +672,9 @@ msgstr ""
 msgid "Monitoring %s, %s, %s"
 msgstr ""
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] ""
-msgstr[1] ""
+msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index d5418709c06a9c37f0af494dbc2419c285bb4023..415f7da979c96abded9f269ca5408273cf5f46e7 100644 (file)
@@ -670,12 +670,9 @@ msgstr ""
 msgid "Monitoring %s, %s, %s"
 msgstr ""
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] ""
-msgstr[1] ""
-msgstr[2] ""
+msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index aab0e512eb915148bc993abb41ba55a7add70c92..8893f17a8b67be66602fc6341cff5146dd8d2ea3 100644 (file)
@@ -676,11 +676,10 @@ msgstr "Überwachung von %s und %s"
 msgid "Monitoring %s, %s, %s"
 msgstr "Überwachung von %s, %s, %s"
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
+#, fuzzy
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] "Überwachung von APC USV am Host %s, Port %d"
-msgstr[1] "Überwachung von APC USV an Hosts %s, Port %d"
+msgstr "Überwachung von APC USV am Host %s, Port %d"
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index f8c398cf2cc941190dc4546250f3fa52a274b291..1250952f34d63a9be3b9cd1ceafe803bef03628b 100644 (file)
@@ -663,11 +663,9 @@ msgstr ""
 msgid "Monitoring %s, %s, %s"
 msgstr ""
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] ""
-msgstr[1] ""
+msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index ed9bbf3fdf68d91cffa96b79038dbbefb8c3e5e1..69a6deac77b9aa8543eba6dcf6a71fa271a27363 100644 (file)
@@ -668,11 +668,9 @@ msgstr ""
 msgid "Monitoring %s, %s, %s"
 msgstr ""
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] ""
-msgstr[1] ""
+msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index e4b14b2b0f7bcc3d94d2a6f81fca3aac535a0d4a..00a56c5c44ee0ada6a1655044b39b011d1b79ac9 100644 (file)
@@ -676,11 +676,10 @@ msgstr "Monitoreando %s y %s"
 msgid "Monitoring %s, %s, %s"
 msgstr "Monitoreando %s, %s, %s"
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
+#, fuzzy
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] "Supervisión de APC UPS en el host %s, puerto %d"
-msgstr[1] "Supervisión de UPS de APC en hosts %s, puerto %d"
+msgstr "Supervisión de APC UPS en el host %s, puerto %d"
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index e3bde984bfb8cdace9c4583c28028e68f636a293..d17039956ba00f4a3463d47160e6a8deb14e090f 100644 (file)
@@ -668,11 +668,10 @@ msgstr "Valvotaan kohdetta %s ja %s"
 msgid "Monitoring %s, %s, %s"
 msgstr "Valvonta %s, %s, %s"
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
+#, fuzzy
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] "Valvotaan APC UPS isäntää %s, port %d"
-msgstr[1] "Valvotaan APC UPS isäntiä %s, port %d"
+msgstr "Valvotaan APC UPS isäntää %s, port %d"
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index 0e4a59f904ba894b395b511141254db1f57404c2..c116349b46e3e5d5863662be88e24cf872327e5b 100644 (file)
@@ -669,11 +669,10 @@ msgstr "Surveillance de %s et %s"
 msgid "Monitoring %s, %s, %s"
 msgstr "Surveillance de %s, %s, %s"
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
+#, fuzzy
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] "Surveillance des APC UPS au niveau de l'hôte %s, port %s"
-msgstr[1] "Surveillance des APC UPS au niveau des hôtes %s, port %s"
+msgstr "Surveillance des APC UPS au niveau de l'hôte %s, port %s"
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index 6ce3dbe9619dfcaeb0ce23b7ab6e6874fe7d8b14..409a384c1972a0452821530ef1d991ec2454e469 100644 (file)
@@ -661,11 +661,9 @@ msgstr ""
 msgid "Monitoring %s, %s, %s"
 msgstr ""
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] ""
-msgstr[1] ""
+msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index 5dfff9cbbfb7c602484f61b274a875b94eed4d71..6143934f5fd14879b13d6513b727114cc8e34563 100644 (file)
@@ -661,11 +661,9 @@ msgstr ""
 msgid "Monitoring %s, %s, %s"
 msgstr ""
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] ""
-msgstr[1] ""
+msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index 72f980cb9fef2ad75f685c517b1555814daa1597..0bd3b5e98850dce1496fae428cf3a1285025bccf 100644 (file)
@@ -672,11 +672,9 @@ msgstr ""
 msgid "Monitoring %s, %s, %s"
 msgstr ""
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] ""
-msgstr[1] ""
+msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index 857966b6e7f67bb906a54cb7525b9f85516d3d09..f0c7fdf9c705b77018468ee06d0c3d507016bff8 100644 (file)
@@ -668,11 +668,9 @@ msgstr ""
 msgid "Monitoring %s, %s, %s"
 msgstr ""
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] ""
-msgstr[1] ""
+msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index ae912b86574a9230f0a164f197332ab1dd180260..c66d7d0775b6427981021f89921f6ffbb089a061 100644 (file)
@@ -674,10 +674,10 @@ msgstr "%s および %s を監視"
 msgid "Monitoring %s, %s, %s"
 msgstr "%s、%s および %s を監視"
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
+#, fuzzy
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] "ホスト %s、ポート %d で APC UPS を監視中"
+msgstr "ホスト %s、ポート %d で APC UPS を監視中"
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index 55fba5ed2d9e7927b86cc2a899e2f7169e4023ce..489f2c648240fe10b342344e6468093253c33211 100644 (file)
@@ -661,10 +661,9 @@ msgstr ""
 msgid "Monitoring %s, %s, %s"
 msgstr ""
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] ""
+msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index 6522d09dd3853dfcab66fcbfb1ecbf3b9706847a..b2a12af8b1b1299a090552766edef85e501d8010 100644 (file)
@@ -661,11 +661,9 @@ msgstr ""
 msgid "Monitoring %s, %s, %s"
 msgstr ""
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] ""
-msgstr[1] ""
+msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index 8599571b61e4022f9a036a98d4b0b55ca7b02861..2bf126dcf9acadab727da633982c30ce98d31311 100644 (file)
@@ -661,10 +661,9 @@ msgstr ""
 msgid "Monitoring %s, %s, %s"
 msgstr ""
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] ""
+msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index ece71389a7d06f386648200dddd7416ba776255e..ba67969d9b04aa525755a59fe740e5ce4934353d 100644 (file)
@@ -663,11 +663,9 @@ msgstr ""
 msgid "Monitoring %s, %s, %s"
 msgstr ""
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] ""
-msgstr[1] ""
+msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index 3c9046a437333f2109dc8ac8b1d5689392bc5f04..1ead01b0e8d408fbc0798255452bf5f6a11b2805 100644 (file)
@@ -682,12 +682,10 @@ msgstr "Monitorowanie %s i %s"
 msgid "Monitoring %s, %s, %s"
 msgstr "Monitorowanie %s, %s, %s"
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
+#, fuzzy
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] "Monitorowanie APC UPS na hoście % s, port %d"
-msgstr[1] "Monitorowanie APC UPS na hostach % s, portach %d"
-msgstr[2] "Monitorowanie APC UPS na hoście % s, port %d"
+msgstr "Monitorowanie APC UPS na hoście % s, port %d"
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index 65a77a98c6a31025f7575803ceb8a0a3e526cddf..06dbc82913dd34c7ba89570d5d3b51c8e7845148 100644 (file)
@@ -677,11 +677,10 @@ msgstr "Monitorando %s e %s"
 msgid "Monitoring %s, %s, %s"
 msgstr "Monitorando %s, %s, %s"
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
+#, fuzzy
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] "Monitorando APC UPS no host %s, porta %d"
-msgstr[1] "Monitorando APC UPS nos hosts %s, porta %d"
+msgstr "Monitorando APC UPS no host %s, porta %d"
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index bb61ce8fa11131f20e08cc0b91424db19241cd35..850dff3b157e749fcb7ae8e7581b33b58a5c6b29 100644 (file)
@@ -679,11 +679,10 @@ msgstr "Monitorando %s e %s"
 msgid "Monitoring %s, %s, %s"
 msgstr "Monitorando %s, %s, %s"
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
+#, fuzzy
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] "Monitorando APC UPS no host %s, porta %d"
-msgstr[1] "Monitorando APC UPS nos hosts %s, portas %d"
+msgstr "Monitorando APC UPS no host %s, porta %d"
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index 822336d7ecf2a4e75fa8539ef2bc4317c7430e06..7547a487456532e7cfc9bcfb86e924ea0fc3e64e 100644 (file)
@@ -662,12 +662,9 @@ msgstr ""
 msgid "Monitoring %s, %s, %s"
 msgstr ""
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] ""
-msgstr[1] ""
-msgstr[2] ""
+msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index 07826c357f8d62a240210b2c04e8ce59afb777a8..f56bda493edf82586c4a4a55a0cd45a171d979c4 100644 (file)
@@ -681,12 +681,10 @@ msgstr "Мониторинг %s и %s"
 msgid "Monitoring %s, %s, %s"
 msgstr "Мониторинг %s, %s, %s"
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
+#, fuzzy
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] "Мониторинг APC UPS на узле %s, порт %s"
-msgstr[1] "Мониторинг APC UPS на узлах %s, порт %s"
-msgstr[2] "Мониторинг APC UPS на узлах %s, порт %s"
+msgstr "Мониторинг APC UPS на узле %s, порт %s"
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index 011c567416ead61d015da386eef0beffd9ef3acf..c6bade397cfadbf2649ddf60fb82161572236d40 100644 (file)
@@ -659,12 +659,9 @@ msgstr ""
 msgid "Monitoring %s, %s, %s"
 msgstr ""
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] ""
-msgstr[1] ""
-msgstr[2] ""
+msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index ab2fe9b3ab9815adf1fe7c8038ce35213aeba306..76e38a4f979b78d61097a03bbccc8eee30ea7922 100644 (file)
@@ -659,11 +659,9 @@ msgstr ""
 msgid "Monitoring %s, %s, %s"
 msgstr ""
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] ""
-msgstr[1] ""
+msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index ecc0798f153828fd8ad6e4154659702daad87b06..e8d349a735a6b7587e46a65bb743903cb8b2d237 100644 (file)
@@ -648,11 +648,9 @@ msgstr ""
 msgid "Monitoring %s, %s, %s"
 msgstr ""
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] ""
-msgstr[1] ""
+msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index bdb563d038dc7f57d72fb0cd44a3a2c36ba3f9c7..b2c10ef29bec6836a8599cc170b43e184d243314 100644 (file)
@@ -659,10 +659,9 @@ msgstr ""
 msgid "Monitoring %s, %s, %s"
 msgstr ""
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] ""
+msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index 9a6a252e5162c62d80fa79464ca0121b84f72868..0196822ab3e208a204bc1fed5d6d717d57ce35b8 100644 (file)
@@ -662,12 +662,9 @@ msgstr ""
 msgid "Monitoring %s, %s, %s"
 msgstr ""
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] ""
-msgstr[1] ""
-msgstr[2] ""
+msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index 7fae49919b046d7ee7279165bbe3ef5a43e570ef..0d8c7b7e508c119f7445f7ca2c265259351b3092 100644 (file)
@@ -670,10 +670,9 @@ msgstr ""
 msgid "Monitoring %s, %s, %s"
 msgstr ""
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] ""
+msgstr ""
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index fbe2c1d9af2ab92815027777f1267320841661da..f46a28ee5a9c75d79a07f39aceb01976ae24ba51 100644 (file)
@@ -671,10 +671,10 @@ msgstr "监视 %s 和 %s"
 msgid "Monitoring %s, %s, %s"
 msgstr "监视 %s, %s, %s"
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
+#, fuzzy
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] "在主机 %s,端口 %d 上监视APC UPS"
+msgstr "在主机 %s,端口 %d 上监视APC UPS"
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"
index 1a2e55f089b6f3ca637509e4a1c83fce7e16ddfc..24d5de475d0a3513be7449e23ae5dbc47924cfcb 100644 (file)
@@ -670,10 +670,10 @@ msgstr "監視 %s 和 %s"
 msgid "Monitoring %s, %s, %s"
 msgstr "監視 %s, %s, %s"
 
-#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:29
+#: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js:26
+#, fuzzy
 msgid "Monitoring APC UPS at host %s, port %d"
-msgid_plural "Monitoring APC UPS at hosts %s, port %d"
-msgstr[0] "正在主機位置 %s 阜號 %d 的位置上監測 APC UPS"
+msgstr "正在主機位置 %s 阜號 %d 的位置上監測 APC UPS"
 
 #: applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/dhcpleases.js:19
 msgid "Monitoring DHCP leases enabled"